package io.renren.modules.app.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.renren.modules.app.entity.CouponVo;
import io.renren.modules.sys.dao.BaseDao;
import org.apache.ibatis.annotations.Mapper;

/**
 * 优惠券Dao
 * @author zzh
 * @email 862583291@qq.com
 * @date 2019-7-14 18:51:40
 */
@Mapper
public interface ApiCouponMapper extends BaseMapper<CouponVo>,BaseDao<CouponVo> {
    /**
     * 按条件查询用户优惠券
     *
     * @param id
     * @return
     */
    CouponVo getUserCoupon(Integer id);
}
